//
//  DZAddress.h
//  DaoZiJinFu
//
//  Created by dzjf on 2016/11/4.
//  Copyright © 2016年 dzjf. All rights reserved.
//

#import <UIKit/UIKit.h>
@class DZAddress;
@protocol DZAddressDelegate <NSObject>
@optional
- (void)DZAddressView:(DZAddress *)DZAddress
       selectProvince:(NSString *)province
             ProvinceId:(NSString *)provinceId
                 city:(NSString *)city
               cityId:(NSString *)cityId;

@end

@interface DZAddress : UIView
@property (weak, nonatomic) id<DZAddressDelegate> delegate;
@end

@interface DZProvincesModel : NSObject
@property (copy, nonatomic) NSString *code;
@property (assign, nonatomic) NSInteger id;
@property (assign, nonatomic) NSInteger level;
@property (assign, nonatomic) NSInteger p_id;
@property (copy, nonatomic) NSString *name;
@end
